package com.baijiaxing.weixin.family.message.model;

/**
 * <p>Title: WeChatTextMessage.java</p>
 * <p>Description: 事件推送消息实体</p>
 * @author hechen
 * @date 2013-5-25
 * @version 1.0
 */
public class FamilyEventMessage implements java.io.Serializable {
	
	/** serialVersionUID*/
	private static final long serialVersionUID = -1206898448516142819L;
	
	//开发者微信号
	private String toUserName;
	//发送方帐号
	private String fromUserName;
	//消息创建时间
	private long createTime;
	//event
	private String msgType;
	//事件类型，subscribe(订阅)、unsubscribe(取消订阅)、CLICK(自定义菜单点击事件)
	private String event;
	//事件KEY值，与自定义菜单接口中KEY值对应
	private String eventKey;
	
	public String getToUserName() {
		return toUserName;
	}
	
	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}
	
	public String getFromUserName() {
		return fromUserName;
	}
	
	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}
	
	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getEventKey() {
		return eventKey;
	}

	public void setEventKey(String eventKey) {
		this.eventKey = eventKey;
	}

}
